package com.reformer.commons.constant;

/**
 * 钱包支付状态：0-未付款 1-已付款 2-支付失败
 *
 * @author sdc
 * @version 1.0
 * @since 1.0
 */
public enum WalletPayStateEnum {
    /**
     * 未付款/正在付款
     */
    UNPAID(0, "未付款"),
    /**
     * 已付款
     */
    PAID(1, "已付款"),
    /**
     * 已付款
     */
    FAILED(2, "支付失败");

    private int code;
    private String desc;

    private WalletPayStateEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
